using System.Threading;
using Microsoft.Extensions.Primitives;

namespace Extensions.Configuration.Database
{
    /// <summary>
    /// 轮询更新令牌
    /// </summary>
    internal interface IPollingChangeToken : IChangeToken
    {
        /// <summary>
        /// 取消令牌源
        /// </summary>
        CancellationTokenSource CancellationTokenSource { get; }
    }
}